%h1= t('remove_layout')

%p= t('text.layouts.remove_warning')

%table.index#layouts
  %tbody
    %tr.node.level_1
      %td.layout
        = image('layout', :alt => '')
        = h @layout.name

- form_for [:admin, @layout], :html => { :method => 'delete', 'data-onsubmit_status'=>"Removing layout&#8230;" } do
  .buttons
    %input.button{:type => "submit", :value => t('delete_layout')  }/
    = t('or')
    = link_to t('cancel'), admin_layouts_url